package entity;

public class VenueData {
	private int hour;
	private int bookingMemberID; // if = 0, no booking

	public VenueData(int hr, String input) {
		this.hour = hr;

		if (input.equals("0")) {
			this.bookingMemberID = 0;
		} else {
			this.bookingMemberID = Integer.parseInt(input);
		}
	}

	public int getHour() {
		return this.hour;
	}

	public void setHour(int hr) {
		this.hour = hr;
	}

	public int getBookingMemberID() {
		return this.bookingMemberID;
	}

	public void setBookingMemberID(int ID) {
		this.bookingMemberID = ID;
	}

	public String getContentStr() {
		return Integer.toString(this.bookingMemberID);
	}

}
